#ifndef PLUGINITEM_H
#define PLUGINITEM_H

#include <QWidget>
#include "global.h"

namespace Ui {
class PluginItem;
}

class PluginItem : public QWidget
{
    Q_OBJECT

public:
    explicit PluginItem(QWidget *parent = nullptr);
    ~PluginItem();

    void setPluginInfo(const PluginInfo &pluginInfo);
    const PluginInfo& getPluginInfo(){return pluginInfo;}

signals:
    void deleteItem(PluginItem *item);

private slots:
    void on_pushButton_clicked();

private:
    Ui::PluginItem *ui;
    PluginInfo pluginInfo;
};

#endif // PLUGINITEM_H
